package com.hzhc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzhc.entity.SmsChannel;
import com.hzhc.utils.ResultUtil;
import com.hzhc.vo.SmsChannelVo;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * @author dongcy
 * @date 2024/6/17 10:58
 * @description SmsChannelService
 */
public interface SmsChannelService extends IService<SmsChannel> {

    List<SmsChannelVo> getMessageTypeList(Page<SmsChannelVo> page, SmsChannelVo vo);

    ResultUtil<T> addMessageType(SmsChannelVo vo);

    ResultUtil<T> delMessageType(Long id);

    ResultUtil<T> updateMessageType(SmsChannelVo vo);

    List<SmsChannel> getMsgChannel(SmsChannel channel);

}
